﻿using Microsoft.EntityFrameworkCore;
using RazorPagesMovie.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace RazorPagesMovie.Data
{
    public class MovieContext:DbContext
    {
        public DbSet<Movie> Movie { get; set; }

        public DbSet<Schedule> Schedule { get; set; }

        public MovieContext(DbContextOptions<MovieContext> options):base(options)
        {

        }
    }
}
